package com.activiti.ActivitiUtils.builder;

import com.activiti.ActivitiUtils.builder.payload.process.definition.ProcessDefinitionLimitOnePayload;
import com.activiti.ActivitiUtils.builder.payload.process.definition.ProcessDefinitionQueryPayload;
import com.activiti.ActivitiUtils.builder.payload.process.instance.ProcessInstanceLimitOnePayload;
import com.activiti.ActivitiUtils.builder.payload.process.instance.ProcessInstanceQueryPayload;
import com.activiti.ActivitiUtils.builder.payload.process.instance.ProcessInstanceStartPayload;
import com.activiti.ActivitiUtils.builder.payload.task.TaskCompletePayload;
import com.activiti.ActivitiUtils.builder.payload.task.TaskQueryPayload;
import com.activiti.ActivitiUtils.builder.payload.task.TaskVariablePayload;

/**
 * create by chongyahhh
 * 2020/4/4
 */
public class PayloadBuilder {
    public static ProcessDefinitionLimitOnePayload createProcessDefinitionLimitOnePayload(){
        return new ProcessDefinitionLimitOnePayload();
    }

    public static ProcessDefinitionQueryPayload createProcessDefinitionQueryPayload(){
        return new ProcessDefinitionQueryPayload();
    }

    public static ProcessInstanceLimitOnePayload createProcessInstanceLimitOnePayload(){
        return new ProcessInstanceLimitOnePayload();
    }

    public static ProcessInstanceQueryPayload createProcessInstanceQueryPayload(){
        return new ProcessInstanceQueryPayload();
    }

    public static ProcessInstanceStartPayload createProcessInstanceStartPayload(){
        return new ProcessInstanceStartPayload();
    }

    public static TaskCompletePayload createTaskCompletePayload(){
        return new TaskCompletePayload();
    }

    public static TaskQueryPayload createTaskQueryPayload(){
        return new TaskQueryPayload();
    }

    public static TaskVariablePayload createTaskVariablePayload(){
        return new TaskVariablePayload();
    }
}
